package com.vq3.digitalizationsoftwareintegrates.Service.User;

import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity.MongoDB_S_C_SysAuthAuditMessageEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity.MongoDB_S_C_WebSocketMessageEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.Permission_TBEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.UserEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.User_RoleEntity;

import java.util.List;

public interface UserLoginService {
    UserEntity findUser(String username);

    List<User_RoleEntity> findUser_Role(int U_RId);

    List<UserEntity> uridFindUserName(int uid);

    List<User_RoleEntity> uidFindUser_Role(int uid);

    List<MongoDB_S_C_WebSocketMessageEntity> findMongoDB_S_C_WebSocketMessage(Permission_TBEntity permission_tbEntity);

    boolean checkUserId(String userId);

    boolean saveUser(String userId,String password);

    boolean SysAuthentication(MongoDB_S_C_SysAuthAuditMessageEntity messageEntity);


    UserEntity uidFindUser(Integer id);
}
